
// 通用页面
body
    font-family "微软雅黑"

.ty_footer
    margin-top .64rem

label > small
    color #999

$nav-height = .32rem
nav
    height $nav-height
    line-height $nav-height
    background-color #f1f1f1
    font-size .12rem
    line-height #nav-height
    color #6a6a6a
    padding 0 .16rem
    a
        color #6a6a6a
    p
        margin-bottom 0

.nav-right
    list-style none
    li
        float left
        margin-left .08rem
    .am-btn
        box-shadow 2px 2px 3px #aaa
        margin-top -4px

.am-g-fixed
    width 1160px
    max-width 1160px

// span tips icon
.tips
    cursor help

// 分页样式 (amazeui定制版)
.pagination
    padding-left 0
    margin 0.15rem 0
    list-style none
    color #999
    text-align left
    &:after,
    &:before
        content " "
        display table
    &:after
        clear both
    > li
        display inline-block
        > a
        > span
            position relative
            display block
            padding .5em 1em
            text-decoration none
            line-height 1.2
            background-color #fff
            border 1px solid #ddd
            border-radius 2px
            margin-bottom 5px
            margin-right 5px
        &:last-child
            > a
            > span
                margin-right 0
        > a:focus
        > a:hover
        > span:focus
        > span:hover
            background-color #eee
    > .active
        > span
        > span:focus
        > span:hover
            z-index 2
            color #fff
            background-color #0e90d2
            border-color #0e90d2
            cursor default
    > .disabled
        > span
        > span:focus
        > span:hover
            color #999
            background-color #fff
            border-color #ddd
            cursor not-allowed
            pointer-events none


// 登陆页面
.page-auth
    header
        text-align center
        h1
            font-size 200%
            color #333
            margin-top .3rem
        p
            font-size .14rem

// 二手货页面
.page-goods
    .sort
        list-style none
        padding-left 0
        font-size 90%
        li
            float left
            margin-right 1em
            .current
                color #000
                text-decoration none
                cursor default
                font-weight 700
    //.goods-list
    .good
        display block
        border-right 1px solid #ccc
        padding 0.08rem
        margin-top 0.32rem
        &:nth-child(4n)
        &:last-child
            border none
        .good-box
            padding-left 0.08rem
            padding-right 0.08rem
            .thumb
                width 100%
                height 1.7rem
                background cneter no-repeat
                background-size cover
                position relative
                .am-badge
                    position absolute
                    top .04rem
                    right .04rem
            .deadline
                font-size 80%
            .other
                .price
                    width 4em
            .operate
                display none
        &:hover
            .operate
                display block
            a.operate
                display inline
